package com.xszx.knowledge.mapper;

import com.xszx.knowledge.dto.StatisticDTO;
import com.xszx.knowledge.entity.EbookSnapshot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 电子书快照表 Mapper 接口
 * </p>
 *
 * @author wencai
 * @since 2023/05/06 14:13
 */
@Mapper
public interface EbookSnapshotMapper extends BaseMapper<EbookSnapshot> {
    void initStatistic();
    List<StatisticDTO> findTopStatistic();
    List<StatisticDTO> findThirtyStatistic();
}
